package com.shali.wechat.order.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.shali.wechat.order.entity.ProductCategory;
import com.shali.wechat.order.repository.ProductCategoryRepository;
import com.shali.wechat.order.service.ProductCategoryService;

@Service
public class ProductCategoryServiceImpl implements ProductCategoryService{
	
	@Autowired
	private ProductCategoryRepository productCategoryRepository;
	@Override
	public List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryType) {
		return productCategoryRepository.findByCategoryTypeIn(categoryType);
	}

}
